/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.fesppr.sacob;

import br.fesppr.sacob.gui.TelaPrincipal;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

/**
 *
 * @author alexandre
 */
public class Sacob {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (ClassNotFoundException ex) {
            Logger.getLogger(Sacob.class.getName()).log(Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            Logger.getLogger(Sacob.class.getName()).log(Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            Logger.getLogger(Sacob.class.getName()).log(Level.SEVERE, null, ex);
        } catch (UnsupportedLookAndFeelException ex) {
            Logger.getLogger(Sacob.class.getName()).log(Level.SEVERE, null, ex);
        }
            TelaPrincipal telaprincipal = new TelaPrincipal();
             if( telaprincipal == null || !telaprincipal.isVisible())
                 telaprincipal = new TelaPrincipal();
                 telaprincipal.setVisible(true);
        
    }
        //System.out.println(Mensagem.getMensagem("arquivo.properties.teste"));
        
    }

